package edu.spec.basic.dao.iface;

import edu.spec.basic.model.Role;
import org.madgecko.basic.dao.IBaseDao;
import org.madgecko.basic.model.Pager;

import java.util.List;

public interface IRoleDao extends IBaseDao<Role> {
    List<Role> listAllRole();
    List<Role> listRoleByUser(Integer userId);
	Pager<Role> findRoleByCon(Integer status, String con);
}
